x86/hvm: explicitly mark ioreq server pages dirty
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 10 Feb 2015 12:29:51 +0000 (13:29 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 10 Feb 2015 12:29:51 +0000 (13:29 +0100)
commit70f691130081324a8efb97b23c504d8abc5421db
treeeb7d010ed30566624a35ded2d6a5b29e6bb65f09
parentdd748d128d86996592afafea02e578cc7d4e6d42
x86/hvm: explicitly mark ioreq server pages dirty

...when they are added back into the guest physmap, when an ioreq
server is disabled. If this is not done then the pages are missed
during migration, causing ioreq server creation to fail on the remote end.

This problem only manifests if the ioreq server is non-default because in
the default case the pages are never removed from the guest physmap.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/hvm.c